package com.fitness.front.service;

import com.fitness.front.enums.VerificationEnum;

public interface VerificationService {

    /**
     * 校验短信验证码
     * @param code
     * @param phone
     * @param verificationEnum
     * @return
     */
    boolean verifyPhoneCode(String code, String phone, VerificationEnum verificationEnum);

    /**
     * 生成短信验证码
     * @param phone
     * @param verificationEnum
     * @return
     */
    String genVerifyCode(String phone, VerificationEnum verificationEnum);
}
